package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.teacher.dtos.AssginRoleDto;
import com.jdzy.model.teacher.pojos.SysRoleUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleUserMapper extends BaseMapper<SysRoleUser> {
    void deleteByUserId(Long userId);

    void doAssign(AssginRoleDto assginRoleDto);
    List<Long> findSysUserRoleByUserId(Long userId);
}
